.appointment-management-page {
  background-color: #f5f5f5;
  min-height: 100vh;
  padding-bottom: 20px;
}

/* 标签栏样式 */
.tab-bar {
  background-color: #fff;
  margin: 10px;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tab {
  padding: 10px 20px;
  margin-right: 5px;
  border-radius: 6px;
  position: relative;
  display: inline-block;
}

.tab.active {
  background-color: #1890ff;
}

.tab-text {
  font-size: 14px;
  color: #666;
}

.tab.active .tab-text {
  color: #fff;
  font-weight: 500;
}

/* 消息数量角标 */
.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff4d4f;
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  line-height: 1;
}

.badge-text {
  font-size: 11px;
}

/* 加载状态样式 */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  color: #999;
}

/* 滚动容器样式 */
.appointment-scroll {
  flex: 1;
  margin: 0 10px;
}

/* 预约项样式 */
.appointment-item {
  background-color: #fff;
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.appointment-header {
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.student-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #e6f7ff;
}

.student-details {
  flex: 1;
}

.student-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.course-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-type {
  font-size: 14px;
  color: #1890ff;
  background-color: #e6f7ff;
  padding: 2px 10px;
  border-radius: 10px;
}

.status-badge {
  padding: 2px 10px;
  border-radius: 10px;
}

.status-text {
  font-size: 12px;
  color: #fff;
  font-weight: 500;
}

.appointment-content {
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-label {
  font-size: 14px;
  color: #666;
  flex: 0 0 70px;
}

.info-value {
  font-size: 14px;
  color: #333;
  flex: 1;
}

.notes-item {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #f0f0f0;
}

.notes-value {
  line-height: 1.6;
  white-space: pre-wrap;
}

/* 操作按钮样式 */
.action-buttons {
  display: flex;
  padding: 15px;
  gap: 10px;
}

.reject-btn,
.cancel-btn {
  flex: 1;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid #d9d9d9;
  text-align: center;
}

.reject-btn-text,
.cancel-btn-text {
  font-size: 14px;
  color: #666;
}

.accept-btn,
.complete-btn {
  flex: 1;
  padding: 10px;
  border-radius: 20px;
  text-align: center;
}

.accept-btn {
  background-color: #1890ff;
}

.complete-btn {
  background-color: #52c41a;
}

.accept-btn-text,
.complete-btn-text {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}

/* 空状态样式 */
.empty-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 300px;
  color: #999;
}

.empty-text {
  margin-top: 15px;
  font-size: 16px;
}

/* 响应式调整 */
@media (max-width: 375px) {
  .tab {
    padding: 8px 15px;
  }
  
  .student-avatar {
    width: 45px;
    height: 45px;
  }
  
  .student-name {
    font-size: 16px;
  }
  
  .appointment-header,
  .appointment-content,
  .action-buttons {
    padding: 12px;
  }
  
  .info-label {
    flex: 0 0 60px;
  }
}

@media (min-width: 414px) {
  .student-avatar {
    width: 55px;
    height: 55px;
  }
  
  .appointment-header,
  .appointment-content,
  .action-buttons {
    padding: 18px;
  }
}